x86/NPT: always return proper order value from p2m_pt_get_entry()
authorJan Beulich <jbeulich@suse.com>
Tue, 22 Sep 2015 10:45:32 +0000 (12:45 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 22 Sep 2015 10:45:32 +0000 (12:45 +0200)
commit31c0fd409a619e316ded36bc1ce594fe8861ecc7
tree363e79556982574644ea1eec01523feaa61245a8
parent3fde8ad95e4bfb5c256ab87a76acaa076f68be6c
x86/NPT: always return proper order value from p2m_pt_get_entry()

This is so that callers can determine what range of address space would
get altered by a corresponding "set".

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm/p2m-pt.c